package jhlee42;

public class J15Ex04Extends {

}


class A{
	private int n;
	public int getN() {
		return n;
	}
	public void setN(int i) {
		this.n = i;
	}
}

class B extends A{
	public String s;
	//private int n;
	public int m;
	private char c;
	
	
	public String getS() {
		return s;
	}
	public void setS(String s) {
		this.s = s;
	}
	public int getM() {
		return m;
	}
	public void setM(int m) {
		this.m = m;
	}
	public char getC() {
		return c;
	}
	public void setC(char ch) {
		this.c = ch;
	}
	
}

class C extends B{
	//public String s;
	//private char c;
	//private int n;
	//public int m;
	public double d;

	public double getD() {
		return d;
	}

	public void setD(double d) {
		this.d = d;
	}
	
	
	
}